package com.qxjc.manage.dao;

import com.qxjc.manage.pojo.UserRoleKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    int deleteByPrimaryKey(UserRoleKey key);

    int insert(UserRoleKey record);

    int insertSelective(UserRoleKey record);

	/** 根据用户获取用户角色中间表数据 */
	List<UserRoleKey> findByUserId(int userId);
	
}